<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<jsp:include page="header.jsp"></jsp:include>
		<script type="text/javascript" src="js/add-order.js" charset="utf-8"></script> 
		
		<title>采购单</title>
	</head>
	
	
	<body>
    <div class="J-header"></div>
		<div class="wrap">
		<div class="breadNavBg">
            <div class="breadNav pb10">
                <div><a>首页</a>&nbsp;&gt;&nbsp;</div><h1><a >手机/数码/配件</a>&nbsp;&gt;&nbsp;<a >手机通讯</a>&nbsp;&gt;&nbsp;<span>手机</span>
            </div>
        </div><!--breadNavBg-->
			<div class="content">
				<!--采购单表头-->
				<div class="title">
					<h2>我的采购单</h2>
					
					<div class="stepflex">
						<div class="step-con">
							<dl class="now">
								<dt class="s-num">1</dt>
								<dd class="s-text">
									1.我的采购单
									<s></s>
									<b></b>
								</dd>
							</dl>
							<dl>
								<dt class="s-num">2</dt>
								<dd class="s-text">
									2.填写核对订单信息
									<s></s>
									<b></b>
								</dd>
							</dl>
							<dl>
								<dt class="s-num">3</dt>
								<dd class="s-text">
									3.成功提交订单
									<s></s>
									<b></b>
								</dd>
							</dl>
						</div>
						
					</div>
					
					<!--
					<ul>
						<li class="active">
							<div class="line"><span>1</span></div>

							<p>1.我的采购单</p>
						</li>
						<li>
							<div class="line"><span>2</span></div>
							<p>2.填写核对订单信息</p>
						</li>
						<li>
							<div class="line"><span>3</span></div>
							<p>3.成功提交订单</p>
						</li>
					</ul>
					-->
				</div>
				<!--采购单表头结束-->
				
				<div class="lineH"></div>	
				
				<!--商品列表-->
<form method="post" name="cart" action="CartShow2">
				<div class="jc-cart">
					<div class="cart-thead">
						<div class="column t-checkbox">
							<div class="cart-checkbox"><input class="all-checked" type="checkbox" checked="checked"></div>
							全选
						</div>
						<div class="column t-goods">商品信息</div>
						<div class="column t-price">单价（元）</div>
						<div class="column t-quantity">数量</div>
						<div class="column t-sum">小计</div>
						<div class="column t-action">操作</div>
					</div>
					<div class="cart-list">
						<div class="item-list">
						<!-- 循环显示购物车中的商品 -->
								<c:forEach items="${cartVo.cartShows }" var="p">
									<div class="item-form item-checked">
										<div class="cell p-checkbox">
											<div class="cart-checkbox"><input type="checkbox" name="cid" value="${p.cid }"></div>
											<div class="p-img"><a href="#" title="${p.summary } ${p.spec}"><img class="img" src="${p.fileName }" alt="修正 高钙蛋白质粉450g/罐 提高免"/></a></div>
										</div>
										<div class="cell p-goods">${p.summary } ${p.spec}</div>
										<div class="cell p-price">${p.price }</div>
										<div class="cell p-quantity">
											<div class="quantity-form">
												<a class="decrement disabled" href="javascript:void(0);">-</a>
												<input type="text" value="${p.count }" cid="${P.cid } " class="itxt" autocomplete="off">
												<a class="increment" href="javascript:void(0);">+</a>
											</div>
										</div>
										<div class="cell p-sum"><em>${p.subprice }</em></div>
										<div class="cell p-action"><a href="javascript:;">移入收藏夹</a><a href="javascript:;">删除</a></div>
										<div class="clear"></div>
									</div>
								</c:forEach>
						</div>
						
					</div>
				</div>
				<!--商品列表 结束 -->
				
				<!--确认订单-->
				<div class="cart-ok">
					<div class="cart-con">
						<div class="select-all">
							<div class="cart-checkbox"><input  class="all-checked" type="checkbox" /></div>
							全选
						</div>
						<div class="operation"><a href="javascript:;">删除选择商品</a><a href="#">移入购物车</a></div>
						<div class="clear"></div>
						<div class="con-right">
							<div class="comm-right">
								<div class="btn-area">
									<span style="color:black;font-size:32px;"><input type="submit" value="商品提交"/></span>
								</div>
								<div class="con-price">
									<ul>
										<li><span>运费：<em>￥${cartVo.freight }</em></span><span>已选商品：<b>${cartVo.count }</b>件</span><span>总计（不含运费）：<strong>${cartVo.totalprice }</strong></span></li>
										<li>优惠劵：-￥0.0</li>
										<li>使用优惠劵：<div class="cut">优惠劵</div></li>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</div>
</form>				
				<!--确认订单结束-->
				
			</div>
		</div>

      <iframe src="footer.jsp" frameborder="0" width="100%" height="462" scrolling="no"></iframe><!--footer end-->
	</body>
</html>